package lib::DB::Main::Files;
use base qw/DBIx::Class/;

__PACKAGE__->load_components(qw/PK::Auto Core/);
__PACKAGE__->table('Files');
__PACKAGE__->add_columns(qw/ id nom path users content report/);
__PACKAGE__->set_primary_key('id');
__PACKAGE__->has_many(taskqueue => 'lib::DB::Main::TaskQueue');
__PACKAGE__->has_many(reports => 'lib::DB::Main::Reports');
__PACKAGE__->belongs_to(users => 'lib::DB::Main::Users');

1;